package com.hd.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * Created by lenovo on 2017/11/22.
 */
public class Case {

    //病例表
    private Integer caseId;
    private Integer caseNo;      //病例号
    private int treatmentId;    //治疗编号
    private int memberId;       //会员编号
    private String caseSug;      //建议
    private Integer caseReview;  //病例复查

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date caseReviewDate;           //病例复查日期
    private Integer caseStatus;            //状态
    private double caseRegFee;            //注册费用
    private Integer userId;                //当前记录员
    private Integer cassReviewSMSSend;    //病例信息发送信息次数

    //引用
    private Treatment treatment;

    private Member member;

    private List<Illness> illnesses;

    public List<Illness> getIllnesses() {
        return illnesses;
    }

    public void setIllnesses(List<Illness> illnesses) {
        this.illnesses = illnesses;
    }

    private CaseIllnessRelation caseIllnessRelation;

    public CaseIllnessRelation getCaseIllnessRelation() {
        return caseIllnessRelation;
    }

    public void setCaseIllnessRelation(CaseIllnessRelation caseIllnessRelation) {
        this.caseIllnessRelation = caseIllnessRelation;
    }



    public Treatment getTreatment() {
        return treatment;
    }

    public void setTreatment(Treatment treatment) {
        this.treatment = treatment;
    }

    public Member getMember() {
        return member;
    }

    public void setMember(Member member) {
        this.member = member;
    }

    public Date getCaseReviewDate() {
        return caseReviewDate;
    }

    public void setCaseReviewDate(Date caseReviewDate) {
        this.caseReviewDate = caseReviewDate;
    }

    public Integer getCaseId() {
        return caseId;
    }

    public void setCaseId(Integer caseId) {
        this.caseId = caseId;
    }

    public Integer getCaseNo() {
        return caseNo;
    }

    public void setCaseNo(Integer caseNo) {
        this.caseNo = caseNo;
    }

    public int getTreatmentId() {
        return treatmentId;
    }

    public void setTreatmentId(int treatmentId) {
        this.treatmentId = treatmentId;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public String getCaseSug() {
        return caseSug;
    }

    public void setCaseSug(String caseSug) {
        this.caseSug = caseSug;
    }

    public Integer getCaseReview() {
        return caseReview;
    }

    public void setCaseReview(Integer caseReview) {
        this.caseReview = caseReview;
    }


    public Integer getCaseStatus() {
        return caseStatus;
    }

    public void setCaseStatus(Integer caseStatus) {
        this.caseStatus = caseStatus;
    }

    public double getCaseRegFee() {
        return caseRegFee;
    }

    public void setCaseRegFee(double caseRegFee) {
        this.caseRegFee = caseRegFee;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCassReviewSMSSend() {
        return cassReviewSMSSend;
    }

    public void setCassReviewSMSSend(Integer cassReviewSMSSend) {
        this.cassReviewSMSSend = cassReviewSMSSend;
    }

    @Override
    public String toString() {
        return "Case{" +
                "caseId=" + caseId +
                ", caseNo=" + caseNo +
                ", treatmentId=" + treatmentId +
                ", memberId=" + memberId +
                ", caseSug='" + caseSug + '\'' +
                ", caseReview=" + caseReview +
                ", caseReviewDate=" + caseReviewDate +
                ", caseStatus=" + caseStatus +
                ", caseRegFee=" + caseRegFee +
                ", userId=" + userId +
                ", caseReviewSMSSehd=" + cassReviewSMSSend +
                ", treatment=" + treatment +
                ", member=" + member +
                '}';
    }
}
